const KEY = 'hospitality-renttal-token'
const value = 'value-h5'
export const changeValue = (val) => {
  localStorage.setItem(value, val)
}

// 取
export const getToken = () => {
  return localStorage.getItem(KEY)
}

// 存
export const setToken = (val) => {
  localStorage.setItem(KEY, val)
}

// 删
export const delToken = () => {
  localStorage.removeItem(KEY)
}
